package com.lovo.model;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

@Data
public class Commodity implements Serializable {
    /**
     * 商品id
     */
    private Integer commodityId;

    /**
     * 商品名称
     */
    private String commodityName;

    /**
     * 商品品类
     */
    private String commodityType;

    /**
     * 商品材质
     */
    private String commodityMaterial;

    /**
     * 适用规格
     */
    private String commodityWeightStandard;

    /**
     * 专属规格
     */
    private String commodityStandard;

    /**
     * 包装规格
     */
    private String commodityPackage;

    /**
     * 口味
     */
    private String commodityTaste;

    /**
     * 特殊功能
     */
    private String commoditySpecial;

    /**
     * 产地
     */
    private String commodityOrigin;

    /**
     * 出厂日期
     */
    private String commodityFactoryTime;

    /**
     * 保质期
     */
    private String commodityShelf;

    /**
     * 特色说明
     */
    private String commoditySpecialMsg;

    /**
     * 商品单价
     */
    private Integer commodityPrice;

    /**
     * 商品图片
     */
    private String commodityImages;

    private static final long serialVersionUID = 1L;

    public Commodity() {
    }

    public Commodity(Integer commodityId, String commodityName, String commodityType, String commodityMaterial, String commodityWeightStandard, String commodityStandard, String commodityPackage, String commodityTaste, String commoditySpecial, String commodityOrigin, String commodityFactoryTime, String commodityShelf, String commoditySpecialMsg, Integer commodityPrice, String commodityImages) {
        this.commodityId = commodityId;
        this.commodityName = commodityName;
        this.commodityType = commodityType;
        this.commodityMaterial = commodityMaterial;
        this.commodityWeightStandard = commodityWeightStandard;
        this.commodityStandard = commodityStandard;
        this.commodityPackage = commodityPackage;
        this.commodityTaste = commodityTaste;
        this.commoditySpecial = commoditySpecial;
        this.commodityOrigin = commodityOrigin;
        this.commodityFactoryTime = commodityFactoryTime;
        this.commodityShelf = commodityShelf;
        this.commoditySpecialMsg = commoditySpecialMsg;
        this.commodityPrice = commodityPrice;
        this.commodityImages = commodityImages;
    }

    public Commodity(String commodityName, String commodityType, String commodityMaterial, String commodityWeightStandard, String commodityStandard, String commodityPackage, String commodityTaste, String commoditySpecial, String commodityOrigin, String commodityFactoryTime, String commodityShelf, String commoditySpecialMsg, Integer commodityPrice, String commodityImages) {
        this.commodityName = commodityName;
        this.commodityType = commodityType;
        this.commodityMaterial = commodityMaterial;
        this.commodityWeightStandard = commodityWeightStandard;
        this.commodityStandard = commodityStandard;
        this.commodityPackage = commodityPackage;
        this.commodityTaste = commodityTaste;
        this.commoditySpecial = commoditySpecial;
        this.commodityOrigin = commodityOrigin;
        this.commodityFactoryTime = commodityFactoryTime;
        this.commodityShelf = commodityShelf;
        this.commoditySpecialMsg = commoditySpecialMsg;
        this.commodityPrice = commodityPrice;
        this.commodityImages = commodityImages;
    }
}